Framework EDI Reference. Errors
Error 12252

There is more data than data elements in segment '<segment id>'. Rest of data will be ignored.

Description

There is more data elements and/or composite elements in the data segment in the document than there is defined for it in the guideline.  There should be a one-to-one association between the actual data in the document and the definition of that data in the implementation guideline.  In this case, the data segment has more data in the document and it exceeds the combined number of data elements and/or composite elements that has been defined for the data segment.

For example, consider the following data segment definition for Administrative Communications Contact (PER)

REF ID   NAME                            REQ TYPE MIN/MAX

01  366  Contact Function Code           M   ID    2/2
02  93   Name                            O   AN    1/60
03  365  Communication Number Qualifier  O   ID    2/2
04  364  Communication Number            O   AN    1/256
05  365  Communication Number Qualifier  O   ID    2/2
06  364  Communication Number            O   AN    1/256
07  365  Communication Number Qualifier  O   ID    2/2
08  364  Communication Number            O   AN    1/256
09  443  Contact Inquiry Reference       O   AN    1/20

The following data generates the error at data segment PER because there are two more additional elements (5556789, ANON) instead of only nine defined for the data segment.  The data is mapped according to how it is defined, with a one-to-one association up to the ninth element, making the remaining two undefined and generating the error.

 

See Also